package com.feicheng.controller.shop.wx.app.client;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.feicheng.common.result.ResultInfo;
import com.feicheng.service.IFClientService;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-02
 */
@RestController("/wx/app/client/voucher-record")
@RequestMapping("/wx/app/client/voucher-record")
public class VoucherRecordController {

	@Autowired
    IFClientService fClientService;

    @PutMapping("/conversion")
    public ResultInfo conversion(String uuId, String password, Integer clientId) {
        return fClientService.checkVoucher(uuId, password, clientId);
    }
}
